package com.ruoyi.project.system.approval.domain;

import com.ruoyi.project.system.dept.domain.Dept;
import com.ruoyi.project.system.user.domain.User;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 审批资格对象 approval
 * 
 * @author stefan
 * @date 2021-11-10
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Approval extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 审批领导名称 */
    @Excel(name = "审批领导名称")
    private String name;

    /** 职务 */
    @Excel(name = "职务")
    private String position;

    /** 是否具备审批资格 */
    @Excel(name = "是否具备审批资格")
    private Integer approvalQualification;

    /**
     *所属部门
     */
    @Excel
   private String belongDept;

    /**
     * 用户id
     */
    private String userId;

    private Dept dept;
    private User user;


}
